Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.25
|
Leadtools.Dicom Namespace > DicomDataSet Class > GetBinaryValue Method : GetBinaryValue(DicomElement,Byte[],Int32,Int32) Method |
'Declaration
Public Overloads Function GetBinaryValue( _ ByVal element As DicomElement, _ ByVal value() As Byte, _ ByVal offset As Integer, _ ByVal length As Integer _ ) As Boolean
'Usage
Dim instance As DicomDataSet Dim element As DicomElement Dim value() As Byte Dim offset As Integer Dim length As Integer Dim value As Boolean value = instance.GetBinaryValue(element, value, offset, length)
public boolean getBinaryValue(DicomElement element, byte[]value, int offset, int length)
function Leadtools.Dicom.DicomDataSet.GetBinaryValue(DicomElement,Byte[],Int32,Int32)( element , value , offset , length )
public: bool GetBinaryValue( DicomElement^ element, array<byte>^ value, int offset, int length )
If the length specified by the DicomElement.Length property is greater than length, then the binary value copied to the buffer will be truncated to the smaller length. If the length specified by DicomElement.Length is less than length, then the entire binary value of element will be copied to the buffer.
This method can be called for every Value Representation, and it will return the exact value in the Value Field (unconverted).
DicomDataSet Class
DicomDataSet Members
Overload List
GetValue
GetBinaryValue(DicomElement,IntPtr,Int32) Method
GetBinaryValue(DicomElement,Int32) Method
GetByteValue(DicomElement,Int32,Int32) Method
GetShortValue(DicomElement,Int32,Int32) Method
GetLongValue(DicomElement,Int32,Int32) Method
GetIntValue(DicomElement,Int32,Int32) Method
GetFloatValue(DicomElement,Int32,Int32) Method
GetDoubleValue(DicomElement,Int32,Int32) Method
GetStringValue Method
GetAgeValue(DicomElement,Int32,Int32) Method
GetDateValue(DicomElement,Int32,Int32) Method
GetTimeValue(DicomElement,Int32,Int32) Method
GetDateTimeValue(DicomElement,Int32,Int32) Method
GetConvertValue Method